import Vue from "vue";
import Vuex from "vuex";

Vue.use(Vuex);

export default new Vuex.Store({
  state: {
    routeArr:[]
  },
  mutations: {
    addRoute(state,val){
      state.routeArr.push(val);
    }
  },
  actions: {}
});
